package com.sifang.dao;

import com.sifang.domain.Mecha;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MechaDao {

    //机甲详情
    @Select("select * from mecha where mecha_id = #{mechaId}")
    Mecha detail(Integer mechaId);

    //机甲分页显示
    List<Mecha> list(String sortId);
}
